﻿@model Bowerbird.Website.Models.ProfileEditModel

@{
    ViewBag.Title = "Complete";
}

<h2>Edit Profile</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    
    @Html.HiddenFor(model => model.Id)

        <p>
            @Html.LabelFor(model => model.Name)
        <br />
            @Html.TextBoxFor(model => model.Name, new { style = "width:500px;" })
            @Html.ValidationMessageFor(model => model.Name)
        </p>

        <p>
            @Html.LabelFor(model => model.Email)
        <br />
            @Html.TextBoxFor(model => model.Email, new { style = "width:800px;" })
            @Html.ValidationMessageFor(model => model.Email)
        </p>

        <p>
            @Html.LabelFor(model => model.ProfilePicture)
        <br />
            @Html.TextBoxFor(model => model.ProfilePicture, new { style = "width:800px;" })
            @Html.ValidationMessageFor(model => model.ProfilePicture)
        </p>
    
        <p>
            @Html.ActionLink("Cancel", "Index", "Home")
            <input type="submit" value="Save" />
        </p>
}

